package com.ydkj.a37e_mall.Classes.Model.Response;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by hong on 2016/3/23.
 */
public class ProductDetailsResp {


    /**
     * errno : 000
     * errmsg :
     * result : {"data":{"thumb":[],"id":"16","name":"iPhone6","model":"","list_title":"iPhone6","description":"水电费水电费","market_price":"2000.00","brand":"apple","type":"手机","list_thumb":"http://oka115078.bkt.clouddn.com/o_1b7f4fpk4alb1s17kah1cq81j019.png","album":["http://oka115078.bkt.clouddn.com/9f0da49d3b7d853b872672fc40c9e6d1.png","http://oka115078.bkt.clouddn.com/a10720c859c1824fe8711acda96b7ddc.png","http://oka115078.bkt.clouddn.com/2b48d54706965830f0efb5bdaa8460ec.png"],"created_at":"2017-01-28 19:32:38","updated_at":"2017-01-28 19:32:38","price":"2000.00","sales":"2000","content":"<p><img src=\"http://ok9wjz7n6.bkt.clouddn.com/3e5520f74d0df3fc90f4d046ce9f62dd.png\" alt=\"3e5520f74d0df3fc90f4d046ce9f62dd.png\"/><\/p>","specifications":"<p><img src=\"http://ok9wjz7n6.bkt.clouddn.com/7fd57e322f965b717b96134f2c58002a.png\" alt=\"7fd57e322f965b717b96134f2c58002a.png\"/><\/p>","package":"<p><img src=\"http://ok9wjz7n6.bkt.clouddn.com/70451a152a69553aac9a3361a7cf84c4.png\" alt=\"70451a152a69553aac9a3361a7cf84c4.png\"/><\/p>","detail_url":"http://192.168.31.188/product/detailView/16","share_url":"http://192.168.31.188/product/view/16","status":"1","stocks":"","link":"创建库存","activity_id":"","is_favor":false},"total_page":"","current_page":"","total":"","access_token":""}
     */

    private String errno;
    private String errmsg;
    private ResultEntity result;

    public String getErrno() {
        return errno;
    }

    public void setErrno(String errno) {
        this.errno = errno;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public static class ResultEntity {
        /**
         * data : {"thumb":[],"id":"16","name":"iPhone6","model":"","list_title":"iPhone6","description":"水电费水电费","market_price":"2000.00","brand":"apple","type":"手机","list_thumb":"http://oka115078.bkt.clouddn.com/o_1b7f4fpk4alb1s17kah1cq81j019.png","album":["http://oka115078.bkt.clouddn.com/9f0da49d3b7d853b872672fc40c9e6d1.png","http://oka115078.bkt.clouddn.com/a10720c859c1824fe8711acda96b7ddc.png","http://oka115078.bkt.clouddn.com/2b48d54706965830f0efb5bdaa8460ec.png"],"created_at":"2017-01-28 19:32:38","updated_at":"2017-01-28 19:32:38","price":"2000.00","sales":"2000","content":"<p><img src=\"http://ok9wjz7n6.bkt.clouddn.com/3e5520f74d0df3fc90f4d046ce9f62dd.png\" alt=\"3e5520f74d0df3fc90f4d046ce9f62dd.png\"/><\/p>","specifications":"<p><img src=\"http://ok9wjz7n6.bkt.clouddn.com/7fd57e322f965b717b96134f2c58002a.png\" alt=\"7fd57e322f965b717b96134f2c58002a.png\"/><\/p>","package":"<p><img src=\"http://ok9wjz7n6.bkt.clouddn.com/70451a152a69553aac9a3361a7cf84c4.png\" alt=\"70451a152a69553aac9a3361a7cf84c4.png\"/><\/p>","detail_url":"http://192.168.31.188/product/detailView/16","share_url":"http://192.168.31.188/product/view/16","status":"1","stocks":"","link":"创建库存","activity_id":"","is_favor":false}
         * total_page :
         * current_page :
         * total :
         * access_token :
         */

        private DataEntity data;
        private String total_page;
        private String current_page;
        private String total;
        private String access_token;

        public DataEntity getData() {
            return data;
        }

        public void setData(DataEntity data) {
            this.data = data;
        }

        public String getTotal_page() {
            return total_page;
        }

        public void setTotal_page(String total_page) {
            this.total_page = total_page;
        }

        public String getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(String current_page) {
            this.current_page = current_page;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public static class DataEntity {
            /**
             * thumb : []
             * id : 16
             * name : iPhone6
             * model :
             * list_title : iPhone6
             * description : 水电费水电费
             * market_price : 2000.00
             * brand : apple
             * type : 手机
             * list_thumb : http://oka115078.bkt.clouddn.com/o_1b7f4fpk4alb1s17kah1cq81j019.png
             * album : ["http://oka115078.bkt.clouddn.com/9f0da49d3b7d853b872672fc40c9e6d1.png","http://oka115078.bkt.clouddn.com/a10720c859c1824fe8711acda96b7ddc.png","http://oka115078.bkt.clouddn.com/2b48d54706965830f0efb5bdaa8460ec.png"]
             * created_at : 2017-01-28 19:32:38
             * updated_at : 2017-01-28 19:32:38
             * price : 2000.00
             * sales : 2000
             * content : <p><img src="http://ok9wjz7n6.bkt.clouddn.com/3e5520f74d0df3fc90f4d046ce9f62dd.png" alt="3e5520f74d0df3fc90f4d046ce9f62dd.png"/></p>
             * specifications : <p><img src="http://ok9wjz7n6.bkt.clouddn.com/7fd57e322f965b717b96134f2c58002a.png" alt="7fd57e322f965b717b96134f2c58002a.png"/></p>
             * package : <p><img src="http://ok9wjz7n6.bkt.clouddn.com/70451a152a69553aac9a3361a7cf84c4.png" alt="70451a152a69553aac9a3361a7cf84c4.png"/></p>
             * detail_url : http://192.168.31.188/product/detailView/16
             * share_url : http://192.168.31.188/product/view/16
             * status : 1
             * stocks :
             * link : 创建库存
             * activity_id :
             * is_favor : false
             */

            private String id;
            private String name;
            private String model;
            private String list_title;
            private String description;
            private String market_price;
            private String brand;
            private String type;
            private String list_thumb;
            private String created_at;
            private String updated_at;
            private String price;
            private String sales;
            private String content;
            private String specifications;
            @SerializedName("package")
            private String packageX;
            private String detail_url;
            private String share_url;
            private String status;
            private String stocks;
            private String link;
            private String activity_id;
            private boolean is_favor;
            private List<?> thumb;
            private List<String> album;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getModel() {
                return model;
            }

            public void setModel(String model) {
                this.model = model;
            }

            public String getList_title() {
                return list_title;
            }

            public void setList_title(String list_title) {
                this.list_title = list_title;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public String getMarket_price() {
                return market_price;
            }

            public void setMarket_price(String market_price) {
                this.market_price = market_price;
            }

            public String getBrand() {
                return brand;
            }

            public void setBrand(String brand) {
                this.brand = brand;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getList_thumb() {
                return list_thumb;
            }

            public void setList_thumb(String list_thumb) {
                this.list_thumb = list_thumb;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getSales() {
                return sales;
            }

            public void setSales(String sales) {
                this.sales = sales;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getSpecifications() {
                return specifications;
            }

            public void setSpecifications(String specifications) {
                this.specifications = specifications;
            }

            public String getPackageX() {
                return packageX;
            }

            public void setPackageX(String packageX) {
                this.packageX = packageX;
            }

            public String getDetail_url() {
                return detail_url;
            }

            public void setDetail_url(String detail_url) {
                this.detail_url = detail_url;
            }

            public String getShare_url() {
                return share_url;
            }

            public void setShare_url(String share_url) {
                this.share_url = share_url;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getStocks() {
                return stocks;
            }

            public void setStocks(String stocks) {
                this.stocks = stocks;
            }

            public String getLink() {
                return link;
            }

            public void setLink(String link) {
                this.link = link;
            }

            public String getActivity_id() {
                return activity_id;
            }

            public void setActivity_id(String activity_id) {
                this.activity_id = activity_id;
            }

            public boolean isIs_favor() {
                return is_favor;
            }

            public void setIs_favor(boolean is_favor) {
                this.is_favor = is_favor;
            }

            public List<?> getThumb() {
                return thumb;
            }

            public void setThumb(List<?> thumb) {
                this.thumb = thumb;
            }

            public List<String> getAlbum() {
                return album;
            }

            public void setAlbum(List<String> album) {
                this.album = album;
            }
        }
    }
}
